import request from '../utils/request'

const userApi = {
  Login: '/auth/login'
}

export function login(data: any) {
  return <Promise<any>>request({
    url: userApi.Login,
    method: 'post',
    data
  })
}
